package com.rongc.client.freight.base.view.adapter;

import android.content.Context;

import com.rongc.client.freight.R;
import com.rongc.client.freight.base.model.DicsBean.DicBean;

import java.util.List;
/**
 * Created by ccqx on 2017/6/28.
 */

public class RecyclerModelAdapter extends RecyclerBaseAdapter<DicBean>{


    public RecyclerModelAdapter(Context mContext, List<DicBean> mDatas) {
        super(mContext, mDatas);
    }

    @Override
    protected void onBind(final BaseRecyclerViewHolder holder, int position, DicBean data) {
        holder.setText(R.id.tv_content,data.getValue());
    }

    @Override
    protected int getLayoutId() {
        return R.layout.recycler_model_item;
    }
}
